package com.firesrc.service.impl;

import java.util.List;

import com.firesrc.bean.MailContent;
import com.firesrc.dao.MailContentDao;
import com.firesrc.dao.impl.MailContentDaoImpl;
import com.firesrc.service.MailContentService;

public class MailContentServiceImpl implements MailContentService {
	private MailContentDao dao;

	public MailContentServiceImpl() {
		dao = new MailContentDaoImpl();
	}

	@Override
	public void add(MailContent mailContent) {
		dao.add(mailContent);

	}

	@Override
	public List<MailContent> getAllList() {
		return dao.getAllList();
	}

}
